package com.zhengjiang.purchase.model.pojo;

import lombok.Builder;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author zhengjiang
 * @version 1.0.0
 * @description 购买订单
 * @date 2021/5/21
 **/
@Data
@Alias("purchaseRecord")
@Builder
public class PurchaseRecordPO implements Serializable {

    private Long id;
    private Long userId;
    private Long productId;
    private double price;
    private int quantity;
    private double sum;
    private Timestamp purchaseTime;
    private String note;


}
